<script setup>
import {ref} from 'vue'


let headlist = ref([
    {title:'首页',path:'/index'},
    {title:'智能投顾',path:'/consultant'},
    {title:'风险前置',path:'/riskdec'},
    {title:'关于我们',path:'/aboutus'},

])
</script>

<template>
    <div class="header">
        <div class="header-list">
            <div class="header-top">
                <div class="logo">
                    <a href="#" title="保险顾问"></a>
                </div>
                <ul class="header-menu">
                    <li v-for="(v,i) in headlist" :key="i">
                        <router-link :to="v.path">  
                        <span>{{v.title}}</span>
                        </router-link>
                    </li>
                </ul>
                <div class="header-right">
                    <div class="header-right-l">
                        <!-- <img src="@/assets/images/telt.png" alt=""> -->
                    </div>
                    <div class="header-right-r">
                        <p>登录</p>
                        
                    </div>
                </div>
            </div>
            
        </div>
    </div>

</template>

<style scoped>

</style>


